package com.foreknow.service;

import com.foreknow.entity.RegistLevel;
import com.foreknow.entity.SettleCategory;

import java.util.List;

public interface SettleCategoryService {
    /**
     * 查询
     */
    List<SettleCategory> quetyAll(SettleCategory settleCategory);

    /**
     * 根据id查询
     */
    SettleCategory selectByPrimaryKey(int id);

    /**
     * 根据id删除
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);
    /**
     * 批量删
     */
    Integer deleteSettleById(List<Integer> ids);
    /**
     * 增加用户
     */
    int insertUser(SettleCategory settleCategory);


    /**
     * 根据id修改用户信息
     */
    int updateById(SettleCategory settleCategory);
}